package com.hbzhit.modules.nm.service;

import com.hbzhit.common.extension.IBaseService;
import com.hbzhit.common.utils.PageUtils;
import com.hbzhit.modules.nm.entity.NoticeEntity;
import com.hbzhit.modules.nm.form.NoticeQueryForm;

import java.util.Collection;

/**
 * 消息通知
 *
 * @author Tiger.Zhang
 * 2020-01-09 11:11
 */
public interface NoticeService extends IBaseService<NoticeEntity> {
    
    PageUtils<NoticeEntity> queryPage(NoticeQueryForm params);
    
    void readNotice(Collection<Long> idList);
    
    void readNotice(Collection<Long> idList, Long userId);

    void delNotice(Collection<Long> idList);

    void saveNotice(Integer category, String title, String content, String route, Collection<Long> targetUserIds, Long senderId, String source);
}

